package bufferedStream;

import java.io.*;

public class Demo2 {
    public static void main(String[] args) throws IOException {
        //字符缓冲流中的独有方法
        //newLine() 换行  readLine()读取整行(读取特有)
        BufferedReader br = new BufferedReader(new FileReader("IODemo\\you.txt"));
        String line;
        while((line = br.readLine()) != null){
            System.out.println(line);
        }
        br.close();
    }
}
